projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b553ce2
)
testtreemodel: fix unused variable on windows
author
Ignacio Casal Quinteiro
<icq@gnome.org>
Thu, 24 Jul 2014 06:34:02 +0000
(08:34 +0200)
committer
Ignacio Casal Quinteiro
<icq@gnome.org>
Thu, 24 Jul 2014 06:34:02 +0000
(08:34 +0200)
tests/testtreemodel.c
patch
|
blob
|
history
diff --git
a/tests/testtreemodel.c
b/tests/testtreemodel.c
index 0c228ea40771b3fcf246a0a939c7167af16854a4..c240b18aa9f21989853d376e94ab672f53f3ed1d 100644
(file)
--- a/
tests/testtreemodel.c
+++ b/
tests/testtreemodel.c
@@
-212,7
+212,10
@@
test_run (gchar *title,
gint i, k, d, items;
GTimer *timer;
gdouble elapsed;
- int uordblks_before = 0, memused;
+ int memused;
+#ifdef HAVE_MALLINFO
+ int uordblks_before = 0;
+#endif
g_print ("%s (average over %d runs, time in milliseconds)\n"
"items \ttime \ttime/item \tused memory\n", title, repeats);